package cn.ulyer.common.annotation;


import cn.ulyer.common.transcode.secret.KeyProvider;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target({ElementType.ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface DecryptProperty {

    String algorithm() default "AES";

    String name();

    Class<? extends KeyProvider> keyProvider() default KeyProvider.None.class;

    /**
     * 优先级高于keyProvider
     * @return
     */
    String constantsKey() default "";


}